/*
 * To change this license header, choose License Headers in Project Properties.
 * To change this template file, choose Tools | Templates
 * and open the template in the editor.
 */
package Control;

import java.awt.event.ActionEvent;
import java.awt.event.ActionListener;
import views.BaseManagement;
import views.addPage;

/**
 *
 * @author TOSHIBA
 */
public class RMS {

    /**
     * @param args the command line arguments
     */
  static BaseManagement baseManagementManager;
    public static void main(String[] args) {
        // TODO code application logic here
        
        
      baseManagementManager   = new BaseManagement();
      int x = 1;
      if (x==1){
      baseManagementManager.setVisible(true);
      baseManagementManager.btn1.setText("manage emp");
      baseManagementManager.btn1.addActionListener(new ActionListener() {

          @Override
          public void actionPerformed(ActionEvent e) {
         //     throw new UnsupportedOperationException("Not supported yet."); //To change body of generated methods, choose Tools | Templates.
              System.out.println("in btn1 action listenr ");
              baseManagementManager.setVisible(false);
         employeeController c = new employeeController();
         
          
          }
      });
       baseManagementManager.btn2.setText("edit");
        baseManagementManager.btn3.setText("delete");
          System.out.println("wslt l e code ");}
          
            
          
          
          
          
          
          
          
          
          
          
          
          
          
          
          
          
          
          
          
          
          
          
      
        
    }
    
}
